/**
 * api接口统一管理
 */
import {get, post} from './http'
import * as Data from './data'

function mock(data) {
    return new Promise((r, j) => {
        r({code: '1', data: data, msg: 'success'})
    })
}

// bottom
export const PlatformPics = p => post('/CockpitMobile/PlatformPics',p)
// right
export const PlatformIssues = p => post('/CockpitMobile/PlatformIssues',p)
// left
export const PatrolPlatform = p => post('/CockpitMobile/PatrolPlatform',p)
//details
export const PlatformPicDetail = p => post('/CockpitMobile/PlatformPicDetail',p)
// 问题定位
export const PlatFormRects = p => post('/CockpitMobile/PlatFormRects',p)
